package cc.rboot.masking.annotation;

import cc.rboot.masking.processor.DefaultDataMaskingProcessor;
import cc.rboot.masking.core.IDataMaskingProcessor;

import java.lang.annotation.*;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DataMasking {

    Class<? extends IDataMaskingProcessor> processor() default DefaultDataMaskingProcessor.class;

    String condition() default "";
}
